package com.gs.gaosheng.domain;

import com.gs.common.annotation.Excel;
import com.gs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品类型对象 gs_type
 *
 * @author yy
 * @date 2023-08-03
 */
public class GsType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型id */
    private Long typeId;

    /** 商品类型名称 */
    @Excel(name = "商品类型名称")
    private String typeName;

    /** 类型级别 */
    @Excel(name = "类型级别")
    private Long typeSuperior;

    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }

    public Long getTypeId()
    {
        return typeId;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setTypeSuperior(Long typeSuperior)
    {
        this.typeSuperior = typeSuperior;
    }

    public Long getTypeSuperior()
    {
        return typeSuperior;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("typeSuperior", getTypeSuperior())
            .toString();
    }
}
